package org.example.aop;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
import org.springframework.stereotype.Component;

import java.util.Arrays;


@Component
@Aspect
public class SysroleAdvice {

    @Pointcut("execution(* org.example.service.ResourcesService.*(..))")
    private void sysroleptx(){}

//    @After("SysroleAdvice.sysroleptx()")
    public void methods(){
        System.out.println("我执行的");
    }

}
